package com.zxd.annotation.resolve_annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ClassName:AnnotationOne
 * Package:com.zxd.annotation.use
 *
 * @Date:2023/10/8 14:36
 * @Author:zxde
 */
@Retention(RetentionPolicy.RUNTIME) //如果未设置注解保存到运行时，无法在运行时通过反射获取
@Target({ElementType.TYPE,ElementType.METHOD})
public @interface AnnotationOne {
    String value();
    double aaa() default 100;
    String[] bbb();
}
